const express = require('express');
const app = express()

// 1. 导入路由模块
const userRoute = require('./05-1路由模块');

// 2. 注册
// app.use() 用来注册全局中间件
app.use(userRoute)

app.listen(80,()=>{
    console.log("http://127.0.0.1")
})